import { axios } from '@/utils/request'

/**
 * 查询其它数据
 *
 * @author cy
 * @date 2022-07-28 19:39:21
 */
export function otherDataRecordPage (parameter) {
  return axios({
    url: '/otherDataRecord/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 其它数据列表
 *
 * @author cy
 * @date 2022-07-28 19:39:21
 */
export function otherDataRecordList (parameter) {
  return axios({
    url: '/otherDataRecord/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加其它数据
 *
 * @author cy
 * @date 2022-07-28 19:39:21
 */
export function otherDataRecordAdd (parameter) {
  return axios({
    url: '/otherDataRecord/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑其它数据
 *
 * @author cy
 * @date 2022-07-28 19:39:21
 */
export function otherDataRecordEdit (parameter) {
  return axios({
    url: '/otherDataRecord/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除其它数据
 *
 * @author cy
 * @date 2022-07-28 19:39:21
 */
export function otherDataRecordDelete (parameter) {
  return axios({
    url: '/otherDataRecord/delete',
    method: 'post',
    data: parameter
  })
}

/**
 * 导出其它数据
 *
 * @author cy
 * @date 2022-07-28 19:39:21
 */
export function otherDataRecordExport (parameter) {
  return axios({
    url: '/otherDataRecord/export',
    method: 'get',
    params: parameter,
    responseType: 'blob'
  })
}
